

Page({
  data: {
    msg:'abc',
    playlists:[]
  },
  onLoad(){
    var url=`http://47.108.197.28:3000/top/playlist`;
    wx.request({
      url,
      method:"GET",
      success:(res)=>{    
      this.setData({playlists:res.data.playlists})
      }
      
    })
  }
})
